package practice8;

public class App {

    public static void main(String[] args) {
        // 创建 Cylinder 的实例
        Cylinder cylinder = new Cylinder(5, 10);

        // 打印 Cylinder 的底面积和体积
        System.out.println("圆柱的底面积: " + cylinder.area());
        System.out.println("圆柱的体积: " + cylinder.volume());
    }
}
